Removed unnecessary files, improved reading writing objects.