Added readme and removed unused code.