Cleaned up code, added license file
Added more text to the readme file.