Added GPL header

Added GPL header, removed error reporting and fixed the readme.md file.