updated readme and added license info to source code