Corrected readme and removed obsolete code.