added license and wrote readme.