Add objectDatabase.readObject() to get objs out
writeObject() checks obj doesn't already exist before writing