Added the license to all headers and updated the readme.