Updated the readme and removed some old code.