diff --git a/LICENSE.in b/LICENSE.in
new file mode 100644
index 0000000000000000000000000000000000000000..ae2735182a96111fad99d5f11c166c8ef92385c7
--- /dev/null
+++ b/LICENSE.in
@@ -0,0 +1,16 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE and COPYING files for more details.
+*/
+
diff --git a/libcorpus2/chunk.cpp b/libcorpus2/chunk.cpp
index de45923b80aea91bc1b3899777e5fe3c608ca00f..7e2f97eda1d47e277c18d70c3dae3c5ca602a3ae 100644
--- a/libcorpus2/chunk.cpp
+++ b/libcorpus2/chunk.cpp
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE and COPYING files for more details.
+*/
+
 #include <libcorpus2/chunk.h>
 #include <libpwrutils/foreach.h>
 
diff --git a/libcorpus2/chunk.h b/libcorpus2/chunk.h
index b85d8cec9b9708e9fe0d51f472ded7c8733748c6..5f667bcf4962c421941e96008d6d533bf2a93c89 100644
--- a/libcorpus2/chunk.h
+++ b/libcorpus2/chunk.h
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE and COPYING files for more details.
+*/
+
 #ifndef LIBCORPUS2_CHUNK_H
 #define LIBCORPUS2_CHUNK_H
 
diff --git a/libcorpus2/exception.cpp b/libcorpus2/exception.cpp
index 87fd2ec47c55e507ba03ff3a02dfbe65d44c732f..75785daccce584853830683f0f9cc94911f2323b 100644
--- a/libcorpus2/exception.cpp
+++ b/libcorpus2/exception.cpp
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE and COPYING files for more details.
+*/
+
 #include <libcorpus2/exception.h>
 #include <sstream>
 #include <libcorpus2/util/settings.h>
diff --git a/libcorpus2/exception.h b/libcorpus2/exception.h
index a68a507ba7354e8ab070d3f30b2f5fb6aa3b9a6a..7e22a9eb50609d5992dd813d0c77e5b7b26bd9ee 100644
--- a/libcorpus2/exception.h
+++ b/libcorpus2/exception.h
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE and COPYING files for more details.
+*/
+
 #ifndef LIBCORPUS2_EXCEPTION_H
 #define LIBCORPUS2_EXCEPTION_H
 
diff --git a/libcorpus2/io/orthwriter.cpp b/libcorpus2/io/orthwriter.cpp
index 8a39d27490c6f5c4b5b08fc721d8db69a3c5dd21..f2a766b55d362f52052f0a8250ef014f08ccd344 100644
--- a/libcorpus2/io/orthwriter.cpp
+++ b/libcorpus2/io/orthwriter.cpp
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE and COPYING files for more details.
+*/
+
 #include <libcorpus2/io/orthwriter.h>
 #include <libpwrutils/foreach.h>
 
diff --git a/libcorpus2/io/orthwriter.h b/libcorpus2/io/orthwriter.h
index 53c3d9ef7beaaf588b5434956a1b35d5d0a191e0..f002e51783ddf991c8c0ab45c3a818221392cdcf 100644
--- a/libcorpus2/io/orthwriter.h
+++ b/libcorpus2/io/orthwriter.h
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE and COPYING files for more details.
+*/
+
 #ifndef LIBCORPUS2_IO_ORTHWRITER_H
 #define LIBCORPUS2_IO_ORTHWRITER_H
 
diff --git a/libcorpus2/io/plainwriter.cpp b/libcorpus2/io/plainwriter.cpp
index 7efc0c9d23d166379c132485cc032668d357cab8..561a0461a35fe723b1f2740b1d3976ba8c5e61d0 100644
--- a/libcorpus2/io/plainwriter.cpp
+++ b/libcorpus2/io/plainwriter.cpp
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE and COPYING files for more details.
+*/
+
 #include <libcorpus2/io/plainwriter.h>
 #include <libpwrutils/foreach.h>
 
diff --git a/libcorpus2/io/plainwriter.h b/libcorpus2/io/plainwriter.h
index cbf0ea537a5c6ab3323eac70908a2ed55be0c72c..63c5f87df2588f98a1537ed20165cbaffe32473d 100644
--- a/libcorpus2/io/plainwriter.h
+++ b/libcorpus2/io/plainwriter.h
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE and COPYING files for more details.
+*/
+
 #ifndef LIBCORPUS2_IO_PLAIN_H
 #define LIBCORPUS2_IO_PLAIN_H
 
diff --git a/libcorpus2/io/reader.cpp b/libcorpus2/io/reader.cpp
index 635b06c92ee8da02a398d46a88df45c70d2cf98f..7a636a30828d12a323ec7cdaf3230f03fab96603 100644
--- a/libcorpus2/io/reader.cpp
+++ b/libcorpus2/io/reader.cpp
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE and COPYING files for more details.
+*/
+
 #include <libcorpus2/io/reader.h>
 
 namespace Corpus2 {
diff --git a/libcorpus2/io/reader.h b/libcorpus2/io/reader.h
index d071f1d44f830a262e32a1532a898d8e4dc8591c..37accdbc1306e7718ac8b1ba7e4e8f8c56d5b80f 100644
--- a/libcorpus2/io/reader.h
+++ b/libcorpus2/io/reader.h
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE and COPYING files for more details.
+*/
+
 #ifndef LIBCORPUS2_IO_READER_H
 #define LIBCORPUS2_IO_READER_H
 
diff --git a/libcorpus2/io/rft.cpp b/libcorpus2/io/rft.cpp
index 99dd2c9b0948bf80ce8b31a8100aef7ffc0e4894..d12fe28c621ce646e9ee9ccfbc2db2608da053f0 100644
--- a/libcorpus2/io/rft.cpp
+++ b/libcorpus2/io/rft.cpp
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE and COPYING files for more details.
+*/
+
 #include <libcorpus2/io/rft.h>
 
 #include <libpwrutils/foreach.h>
diff --git a/libcorpus2/io/rft.h b/libcorpus2/io/rft.h
index 5122e96d2a9ee12c97f2fd45832b632f9a5a2d8c..8bb3de2d7d96285094ac151ec8a428e2502617ac 100644
--- a/libcorpus2/io/rft.h
+++ b/libcorpus2/io/rft.h
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE and COPYING files for more details.
+*/
+
 #ifndef LIBCORPUS2_IO_RFT_H
 #define LIBCORPUS2_IO_RFT_H
 
diff --git a/libcorpus2/io/sax.cpp b/libcorpus2/io/sax.cpp
index faf527775de19d0606150e4aa2884def32eaae7d..69737148704253be5e5c06338684256e18d1ed45 100644
--- a/libcorpus2/io/sax.cpp
+++ b/libcorpus2/io/sax.cpp
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE and COPYING files for more details.
+*/
+
 #include <libcorpus2/io/sax.h>
 
 namespace Corpus2 {
diff --git a/libcorpus2/io/sax.h b/libcorpus2/io/sax.h
index affba56513d9102b493262db143bd816f32b11b3..75317cb80343483b5b0db6b65190e0fe6c989598 100644
--- a/libcorpus2/io/sax.h
+++ b/libcorpus2/io/sax.h
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE and COPYING files for more details.
+*/
+
 #ifndef LIBCORPUS2_IO_SAX_H
 #define LIBCORPUS2_IO_SAX_H
 
diff --git a/libcorpus2/io/writer.cpp b/libcorpus2/io/writer.cpp
index be82cb98b9fda2cf105d83a997fd55c43715d034..7ccabb5a19e877963561833dd03333de48557247 100644
--- a/libcorpus2/io/writer.cpp
+++ b/libcorpus2/io/writer.cpp
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE and COPYING files for more details.
+*/
+
 #include <libcorpus2/io/writer.h>
 #include <libpwrutils/foreach.h>
 #include <boost/algorithm/string.hpp>
diff --git a/libcorpus2/io/writer.h b/libcorpus2/io/writer.h
index 4f98755fb6da60f825106d5f01f216efb8c97e47..e2804e55a80512b04cc331101cadc4cb8eb5edca 100644
--- a/libcorpus2/io/writer.h
+++ b/libcorpus2/io/writer.h
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE and COPYING files for more details.
+*/
+
 #ifndef LIBCORPUS2_IO_WRITER_H
 #define LIBCORPUS2_IO_WRITER_H
 
diff --git a/libcorpus2/io/xces.cpp b/libcorpus2/io/xces.cpp
index a47e3f2714f2fc8bd5666884da4659a0ed21a252..bd780c01865dfdd4f45a3bdbb9c78a4c44397245 100644
--- a/libcorpus2/io/xces.cpp
+++ b/libcorpus2/io/xces.cpp
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE and COPYING files for more details.
+*/
+
 #include <libcorpus2/io/xces.h>
 #include <libcorpus2/io/reader.h>
 #include <libpwrutils/foreach.h>
diff --git a/libcorpus2/io/xces.h b/libcorpus2/io/xces.h
index 0a4f6cc2cb748acfc4ae8484fbafdb7541e7918b..66bddb147ea4abc5315b22bf5a39259bac21b67f 100644
--- a/libcorpus2/io/xces.h
+++ b/libcorpus2/io/xces.h
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE and COPYING files for more details.
+*/
+
 #ifndef LIBCORPUS2_IO_XCES_H
 #define LIBCORPUS2_IO_XCES_H
 
diff --git a/libcorpus2/io/xcescommon.cpp b/libcorpus2/io/xcescommon.cpp
index 3188a08e0a586204a3f54c82d935f4799910925d..7bcb4c5fae7f76f3d8e2c846823c0b894c2d3bc8 100644
--- a/libcorpus2/io/xcescommon.cpp
+++ b/libcorpus2/io/xcescommon.cpp
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE and COPYING files for more details.
+*/
+
 #include <libcorpus2/io/xcescommon.h>
 #include <libpwrutils/foreach.h>
 #include <sstream>
diff --git a/libcorpus2/io/xcescommon.h b/libcorpus2/io/xcescommon.h
index 97b5d6a33380be51ad240d6cba5e4c1e241aab83..da1e8087f3f8f90b36aa585eb6b2684af31285dd 100644
--- a/libcorpus2/io/xcescommon.h
+++ b/libcorpus2/io/xcescommon.h
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE and COPYING files for more details.
+*/
+
 #ifndef LIBCORPUS2_IO_XCESCOMMON_H
 #define LIBCORPUS2_IO_XCESCOMMON_H
 
diff --git a/libcorpus2/io/xcesreader.cpp b/libcorpus2/io/xcesreader.cpp
index 4fd6a73567bd60ab7aa7bf499c4b3c957d8bf21b..ae295d3bdba424e1dde84914043cb4dea73e664a 100644
--- a/libcorpus2/io/xcesreader.cpp
+++ b/libcorpus2/io/xcesreader.cpp
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE and COPYING files for more details.
+*/
+
 #include <libcorpus2/io/xcesreader.h>
 #include <libcorpus2/io/sax.h>
 #include <libpwrutils/foreach.h>
diff --git a/libcorpus2/io/xcesreader.h b/libcorpus2/io/xcesreader.h
index 5fc9c0a038d43a3fa9db05e492ba0620556469b6..f742f036e3125f229dee3415bfa6382c7f51160d 100644
--- a/libcorpus2/io/xcesreader.h
+++ b/libcorpus2/io/xcesreader.h
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE and COPYING files for more details.
+*/
+
 #ifndef LIBCORPUS2_IO_XCESREADER_H
 #define LIBCORPUS2_IO_XCESREADER_H
 
diff --git a/libcorpus2/io/xcesvalidate.cpp b/libcorpus2/io/xcesvalidate.cpp
index a600c8d65500964732150bde0ab409cbcfda29be..8cebeaa8caeabd758276f43654f580d944762c90 100644
--- a/libcorpus2/io/xcesvalidate.cpp
+++ b/libcorpus2/io/xcesvalidate.cpp
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE and COPYING files for more details.
+*/
+
 #include <libcorpus2/io/xcesvalidate.h>
 #include <libcorpus2/tagset.h>
 
diff --git a/libcorpus2/io/xcesvalidate.h b/libcorpus2/io/xcesvalidate.h
index 2ab5683113e8ecbd6bf88a338f7200e2152ccb72..f85bce7bfee2d30cef9cb00d789e7c0be39aeb7d 100644
--- a/libcorpus2/io/xcesvalidate.h
+++ b/libcorpus2/io/xcesvalidate.h
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE and COPYING files for more details.
+*/
+
 #ifndef LIBCORPUS2_IO_XCESVALIDATE_H
 #define LIBCORPUS2_IO_XCESVALIDATE_H
 
diff --git a/libcorpus2/io/xceswriter.cpp b/libcorpus2/io/xceswriter.cpp
index e1b2a1a6e0286019d4da8d0ba5b6ba9efeb81d3d..8c2e9c8bf00606fc38de8087fc4677cece98b874 100644
--- a/libcorpus2/io/xceswriter.cpp
+++ b/libcorpus2/io/xceswriter.cpp
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE and COPYING files for more details.
+*/
+
 #include <libcorpus2/io/xcescommon.h>
 #include <libcorpus2/io/xceswriter.h>
 #include <libpwrutils/foreach.h>
diff --git a/libcorpus2/io/xceswriter.h b/libcorpus2/io/xceswriter.h
index a6b6e0a67fb8b870d1bec3d6e2aaaaeff3759936..835ce3288dd6fe0436279ce3bcf9e144102d68ee 100644
--- a/libcorpus2/io/xceswriter.h
+++ b/libcorpus2/io/xceswriter.h
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE and COPYING files for more details.
+*/
+
 #ifndef LIBCORPUS2_IO_XCESWRITER_H
 #define LIBCORPUS2_IO_XCESWRITER_H
 
diff --git a/libcorpus2/lexeme.cpp b/libcorpus2/lexeme.cpp
index 7c1a8355611102516621c68354e9523994833096..be0f8aeb7c82a1343c7b6366ff3f96affbbcc718 100644
--- a/libcorpus2/lexeme.cpp
+++ b/libcorpus2/lexeme.cpp
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE and COPYING files for more details.
+*/
+
 #include <libcorpus2/lexeme.h>
 
 namespace Corpus2 {
diff --git a/libcorpus2/lexeme.h b/libcorpus2/lexeme.h
index e15b0fefec3abe02d0e35e30897a3db8e5834b7c..fbf82a0a8957e06ea7dab83fb61f27c6a351ca2e 100644
--- a/libcorpus2/lexeme.h
+++ b/libcorpus2/lexeme.h
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE and COPYING files for more details.
+*/
+
 #ifndef LIBCORPUS2_LEXEME_H
 #define LIBCORPUS2_LEXEME_H
 
diff --git a/libcorpus2/sentence.cpp b/libcorpus2/sentence.cpp
index 082efd54b7e9e5b8c86ab08440514d8e8d6b21d8..3794fe07b4065d7d934b25ab2b78df5d6802db79 100644
--- a/libcorpus2/sentence.cpp
+++ b/libcorpus2/sentence.cpp
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE and COPYING files for more details.
+*/
+
 #include <libcorpus2/sentence.h>
 
 namespace Corpus2 {
diff --git a/libcorpus2/sentence.h b/libcorpus2/sentence.h
index bb120473e75e970abbcdae2df0625cfb77bf208e..567e5745f37061c89fbb305dacf0c9219ed2e413 100644
--- a/libcorpus2/sentence.h
+++ b/libcorpus2/sentence.h
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE and COPYING files for more details.
+*/
+
 #ifndef LIBCORPUS2_SENTENCE_H
 #define LIBCORPUS2_SENTENCE_H
 
diff --git a/libcorpus2/tag.cpp b/libcorpus2/tag.cpp
index 945b5969de08c1d57d4144bdf3bb8f796f025620..9cbdaf37259337c28361dba550aae63540427594 100644
--- a/libcorpus2/tag.cpp
+++ b/libcorpus2/tag.cpp
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE and COPYING files for more details.
+*/
+
 #include <libcorpus2/tag.h>
 #include <libcorpus2/tagsetmanager.h>
 
diff --git a/libcorpus2/tag.h b/libcorpus2/tag.h
index 41a23694bac05820a6366818f311179ceb39aa7b..324c88ea16db0477076319d4da13d52405bb2a5f 100644
--- a/libcorpus2/tag.h
+++ b/libcorpus2/tag.h
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE and COPYING files for more details.
+*/
+
 #ifndef LIBCORPUS2_TAG_H
 #define LIBCORPUS2_TAG_H
 
diff --git a/libcorpus2/tagset.cpp b/libcorpus2/tagset.cpp
index ff7f86a7913eae6c724d0ccdb851aeebf14879a9..4cc688181442f235518949877119fb41f914ee31 100644
--- a/libcorpus2/tagset.cpp
+++ b/libcorpus2/tagset.cpp
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE and COPYING files for more details.
+*/
+
 #include <libcorpus2/exception.h>
 #include <libcorpus2/tagset.h>
 #include <libcorpus2/lexeme.h>
diff --git a/libcorpus2/tagset.h b/libcorpus2/tagset.h
index ca4ad09f809982211b69606fbecba587f443657e..b6e1c1afd1ec6fd1782f2684a6900135128e5570 100644
--- a/libcorpus2/tagset.h
+++ b/libcorpus2/tagset.h
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE and COPYING files for more details.
+*/
+
 #ifndef LIBCORPUS2_TAGSET_H
 #define LIBCORPUS2_TAGSET_H
 
diff --git a/libcorpus2/tagsetmanager.cpp b/libcorpus2/tagsetmanager.cpp
index 35b6130b251e8ef6cc327b2d143f7485d3faf7b4..4f7afef928237eb14981a417074958b4a91a070a 100644
--- a/libcorpus2/tagsetmanager.cpp
+++ b/libcorpus2/tagsetmanager.cpp
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE and COPYING files for more details.
+*/
+
 #include <libcorpus2/tagsetmanager.h>
 #include <libcorpus2/tagsetparser.h>
 #include <libcorpus2/util/settings.h>
diff --git a/libcorpus2/tagsetmanager.h b/libcorpus2/tagsetmanager.h
index fb0f6e95310c2b5dee5f7bf6c584c34cd0c02138..356541f09202c84481121eea75ea72c875932c76 100644
--- a/libcorpus2/tagsetmanager.h
+++ b/libcorpus2/tagsetmanager.h
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE and COPYING files for more details.
+*/
+
 #ifndef LIBCORPUS2_TAGSETMANAGER_H
 #define LIBCORPUS2_TAGSETMANAGER_H
 
diff --git a/libcorpus2/tagsetparser.cpp b/libcorpus2/tagsetparser.cpp
index 3cf0e9edabdde05b6af6600127e4bb089079012e..4a4307b173d9c01f5caf5e4cba6452f9423a9620 100644
--- a/libcorpus2/tagsetparser.cpp
+++ b/libcorpus2/tagsetparser.cpp
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE and COPYING files for more details.
+*/
+
 #include <libcorpus2/tagsetparser.h>
 #include <sstream>
 #include <boost/algorithm/string.hpp>
diff --git a/libcorpus2/tagsetparser.h b/libcorpus2/tagsetparser.h
index 2d2e7adf459a8d493c173fcf8b15ee02766377a0..9dc0792a194ae90511a161613a3247d2b8be964d 100644
--- a/libcorpus2/tagsetparser.h
+++ b/libcorpus2/tagsetparser.h
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE and COPYING files for more details.
+*/
+
 #ifndef LIBCORPUS2_TAGSETPARSER_H
 #define LIBCORPUS2_TAGSETPARSER_H
 
diff --git a/libcorpus2/token.cpp b/libcorpus2/token.cpp
index 1b07c3fd3fbec6f48561674aa6f215ad63668f20..78a2e606a7578c24cb322d43aa5d1a73d99c3fa5 100644
--- a/libcorpus2/token.cpp
+++ b/libcorpus2/token.cpp
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE and COPYING files for more details.
+*/
+
 #include <libcorpus2/token.h>
 #include <sstream>
 #include <libpwrutils/foreach.h>
diff --git a/libcorpus2/token.h b/libcorpus2/token.h
index 2961eb7e32a6b7d99c5ea7e16e1ba98a4ff61747..a6da809044ae0a83ae35c98254891e9847a279aa 100644
--- a/libcorpus2/token.h
+++ b/libcorpus2/token.h
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE and COPYING files for more details.
+*/
+
 #ifndef LIBCORPUS2_TOKEN_H
 #define LIBCORPUS2_TOKEN_H
 
diff --git a/libcorpus2/tokensource.h b/libcorpus2/tokensource.h
index 240b9b5dcc4cb735a41296e78142d4daee6c59c4..3bfbd2d8d191691ed39e5eea10d0066cd69d03c6 100644
--- a/libcorpus2/tokensource.h
+++ b/libcorpus2/tokensource.h
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE and COPYING files for more details.
+*/
+
 #ifndef LIBCORPUS2_TOKEN_SOURCE_H
 #define LIBCORPUS2_TOKEN_SOURCE_H
 
diff --git a/libcorpus2/typedefs.h b/libcorpus2/typedefs.h
index f9b784f904a99052d7abc591dbbac2f97e7f3af4..f4afbece11e582517eed36bd309579f4afc127ae 100644
--- a/libcorpus2/typedefs.h
+++ b/libcorpus2/typedefs.h
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE and COPYING files for more details.
+*/
+
 #ifndef LIBCORPUS2_TYPEDEFS_H
 #define LIBCORPUS2_TYPEDEFS_H
 
diff --git a/libcorpus2/util/settings.cpp b/libcorpus2/util/settings.cpp
index f8b07843ae0ddd06e64e320551367c05fb688c86..bfa5c33042c8dba4e51b28f1502fa5c7b70fe706 100644
--- a/libcorpus2/util/settings.cpp
+++ b/libcorpus2/util/settings.cpp
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE and COPYING files for more details.
+*/
+
 #include <libcorpus2/util/settings.h>
 
 #ifdef HAVE_CONFIG_D_H
diff --git a/libcorpus2/util/settings.h b/libcorpus2/util/settings.h
index 83898ba5db0397c51264771bb5681727d1671008..1dd57722b0e53d07c9d81bacd59b3360a2d4780c 100644
--- a/libcorpus2/util/settings.h
+++ b/libcorpus2/util/settings.h
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE and COPYING files for more details.
+*/
+
 #ifndef LIBCORPUS2_SETTINGS_H
 #define LIBCORPUS2_SETTINGS_H
 
diff --git a/libcorpus2/util/symboldictionary.cpp b/libcorpus2/util/symboldictionary.cpp
index 28183c3a47026e02392e833222a1e754224b8f59..92716e44eb49d3bf867e0054c021756762081271 100644
--- a/libcorpus2/util/symboldictionary.cpp
+++ b/libcorpus2/util/symboldictionary.cpp
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE and COPYING files for more details.
+*/
+
 #include <libcorpus2/util/symboldictionary.h>
 
 namespace Corpus2 {
diff --git a/libcorpus2/util/symboldictionary.h b/libcorpus2/util/symboldictionary.h
index f0027a95a472213f7b5da65365c7d71ac0e974bd..c1eaf8a07c66e0729d91cb461a1a1d050c0eca69 100644
--- a/libcorpus2/util/symboldictionary.h
+++ b/libcorpus2/util/symboldictionary.h
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE and COPYING files for more details.
+*/
+
 #ifndef LIBCORPUS2_SYMBOLDICTIONARY_H
 #define LIBCORPUS2_SYMBOLDICTIONARY_H
 
diff --git a/libcorpus2/util/tokentimer.cpp b/libcorpus2/util/tokentimer.cpp
index 4c2d948ad0542981809380847b315bec5d643b4a..cf38bf12ce3793f71be82a05c5168519e01b9888 100644
--- a/libcorpus2/util/tokentimer.cpp
+++ b/libcorpus2/util/tokentimer.cpp
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE and COPYING files for more details.
+*/
+
 #include <libcorpus2/util/tokentimer.h>
 #include <iostream>
 
diff --git a/libcorpus2/util/tokentimer.h b/libcorpus2/util/tokentimer.h
index f9233690f0cc238a6dfdd4bd645bc6e8c1e14680..4a51831f7c43b0aa18a95bf26d48686ada844f50 100644
--- a/libcorpus2/util/tokentimer.h
+++ b/libcorpus2/util/tokentimer.h
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE and COPYING files for more details.
+*/
+
 #ifndef LIBCORPUS2_UTIL_TOKENTIMER_H
 #define LIBCORPUS2_UTIL_TOKENTIMER_H
 
diff --git a/libpwrutils/bitset.h b/libpwrutils/bitset.h
index 439a23cda7ad8874999c24582ec148562eef1530..a28a75729a318961a0eaaec238b46d5095c5a901 100644
--- a/libpwrutils/bitset.h
+++ b/libpwrutils/bitset.h
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE and COPYING files for more details.
+*/
+
 #ifndef PWRNLP_BITSET_H
 #define PWRNLP_BITSET_H
 
diff --git a/libpwrutils/sentence.h b/libpwrutils/sentence.h
index b502cfa7275279b74b5a417c2574dde2d2047717..0a39578d10b81eac054f884876115fd4072f564f 100644
--- a/libpwrutils/sentence.h
+++ b/libpwrutils/sentence.h
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE and COPYING files for more details.
+*/
+
 #ifndef PWRNLP_SENTENCE_H
 #define PWRNLP_SENTENCE_H
 
diff --git a/libpwrutils/typedefs_includes.in.h b/libpwrutils/typedefs_includes.in.h
index ee92a98e055fc821043c90fb6541abb9cffc3090..6e1b3c3b4752d1690b8003aa0a629443bd33c13c 100644
--- a/libpwrutils/typedefs_includes.in.h
+++ b/libpwrutils/typedefs_includes.in.h
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE and COPYING files for more details.
+*/
+
 // no namespace or header guard, should not be used directly
 
 #include <boost/range.hpp>
diff --git a/libpwrutils/typedefs_typedefs.in.h b/libpwrutils/typedefs_typedefs.in.h
index 3d77220c875c4218cb16ddec87c90eaa957fb8bd..c01d2cd72f44f723fb5ab2993a5f1c4a6481e86a 100644
--- a/libpwrutils/typedefs_typedefs.in.h
+++ b/libpwrutils/typedefs_typedefs.in.h
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE and COPYING files for more details.
+*/
+
 // no namespace or header guard, should not be used directly
 
 typedef boost::iterator_range<std::string::const_iterator> string_range;
diff --git a/licensify.sh b/licensify.sh
new file mode 100755
index 0000000000000000000000000000000000000000..1082d76ea0a279320aa1b790fdf1d08d22c6e708
--- /dev/null
+++ b/licensify.sh
@@ -0,0 +1,5 @@
+#!/bin/bash
+find -name '*.h' -or -name '*.cpp' | while read file; do
+	cat LICENSE.in $file > $file.new && mv $file.new $file
+done
+
diff --git a/tagset-tool/main.cpp b/tagset-tool/main.cpp
index 4ae2cdb3b7841d323c605ce4a3e8607646ab2bb9..791d5ccd603d483697ee6135a14c5adb28b64542 100644
--- a/tagset-tool/main.cpp
+++ b/tagset-tool/main.cpp
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE and COPYING files for more details.
+*/
+
 #include <libcorpus2/util/settings.h>
 #include <libcorpus2/tagsetparser.h>
 #include <libcorpus2/tagsetmanager.h>
diff --git a/tests/basic.cpp b/tests/basic.cpp
index e025403ee335b8adcec6bcbe988ea7a09385595b..6c788dc4e5b07219209b414d72cc442d0f91cec7 100644
--- a/tests/basic.cpp
+++ b/tests/basic.cpp
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE and COPYING files for more details.
+*/
+
 #include <boost/test/unit_test.hpp>
 
 #include <libcorpus2/token.h>
diff --git a/tests/main.cpp b/tests/main.cpp
index d38e478c57b68338535675da844dde71bc7a5679..b44bf211b05be826cef51e32b457cd410fe6a25c 100644
--- a/tests/main.cpp
+++ b/tests/main.cpp
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE and COPYING files for more details.
+*/
+
 #define BOOST_TEST_MODULE master
 #include <boost/test/included/unit_test.hpp>
 
diff --git a/tests/tag_split.cpp b/tests/tag_split.cpp
index c252903906e328f4dd8bfb58d83a0e6ee717119f..098ef7a5e0c96bcd8ca79d613057d0c73558287c 100644
--- a/tests/tag_split.cpp
+++ b/tests/tag_split.cpp
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE and COPYING files for more details.
+*/
+
 #include <boost/test/unit_test.hpp>
 #include <set>
 #include <libpwrutils/foreach.h>
diff --git a/tests/tagset_parse.cpp b/tests/tagset_parse.cpp
index d5faa7d1792748ac4adc94545f99d22a5371da45..69100e52fa7e7a40ad3084c6acd749d2add78425 100644
--- a/tests/tagset_parse.cpp
+++ b/tests/tagset_parse.cpp
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE and COPYING files for more details.
+*/
+
 #include <boost/test/unit_test.hpp>
 #include <set>
 #include <libpwrutils/foreach.h>