And the proper copyrights in the tests and main file
Added the GPL header to the CMakeLists file