Readme and Code changes

Code is close to working, but untested