Add some peripheral files
diff --git a/Changes b/Changes
new file mode 100644
index 0000000..ee5e9f3
--- /dev/null
+++ b/Changes
@@ -0,0 +1,2 @@
+0.1.0 2022-12-16
+ - First commit.
diff --git a/LICENSE b/LICENSE
new file mode 100755
index 0000000..f1083af
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,24 @@
+Copyright (c) 2015, IDS Mannheim
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+1. Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
+GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
+DAMAGE.
\ No newline at end of file
diff --git a/Makefile.PL b/Makefile.PL
new file mode 100644
index 0000000..7406b43
--- /dev/null
+++ b/Makefile.PL
@@ -0,0 +1,30 @@
+#!/usr/bin/env perl
+use v5.16;
+use strict;
+use warnings;
+use ExtUtils::MakeMaker;
+
+WriteMakefile(
+ NAME => 'KorAP::XML::OffsetChecker',
+ AUTHOR => 'Nils Diewald',
+ ABSTRACT => 'Check anf fix offsets in KorAP-XML files',
+ VERSION_FROM => 'script/korapxml_offset_checker',
+ LICENSE => 'freebsd',
+ PREREQ_PM => {
+ 'Mojolicious' => 9.22,
+ 'File::Copy::Recursive' => 0,
+ 'Test::Script' => 0
+ },
+ MIN_PERL_VERSION => '5.016',
+ test => {
+ TESTS => 't/*.t'
+ },
+ EXE_FILES => ['script/korapxml_offset_checker'],
+ META_MERGE => {
+ 'meta-spec' => { version => 2 },
+ requires => { perl => '5.016' },
+ resources => {
+ license => 'https://opensource.org/licenses/BSD-2-Clause'
+ }
+ }
+);
diff --git a/Readme.pod b/Readme.pod
new file mode 100644
index 0000000..bd47782
--- /dev/null
+++ b/Readme.pod
@@ -0,0 +1,52 @@
+=pod
+
+=encoding utf8
+
+=head1 NAME
+
+korapxml_offset_checker - Check offsets in KorAP-XML files
+
+=head1 SYNOPSIS
+
+ perl korapxml_offset_checker -i NKJP/NKJP/SuperExpress -a nkjp/morpho
+
+=head1 INSTALLATION
+
+Requires Mojolicious.
+
+=head1 OPTIONS
+
+=over 2
+
+=item B<--input|-i>
+
+Expects a path to the root of a KorAP-XML document
+(the root being the text level, including the C<data.xml>),
+e.g. C<NKJP/NKJP/SuperExpress>.
+
+=item B<--annotation|-a>
+
+Expects the annotation to check for failing offsets in the form of
+C<foundry/layer>, e.g. C<nkjp/morpho>.
+
+=item B<--fix|-f>
+
+Binary flag to rewrite data.xml with fixed offsets.
+
+=item B<--quiet|-q>
+
+Binary flag to indicate to never ask, if fixing is really wanted.
+
+=back
+
+=head1 COPYRIGHT AND LICENSE
+
+Copyright (C) 2022, L<IDS Mannheim|https://www.ids-mannheim.de/>
+
+Author: Nils Diewald
+
+This program is free software published under the
+L<BSD-2 License|https://opensource.org/licenses/BSD-2-Clause>.
+
+=cut
+