Updated the readme and applied the license to source files.