Moved the local object manager to a separate class, and added methods
for reading files.