Store object graph

i think we should just write this as `QHash<quint64, ObjectDetail*> objectStore`. we dont need a pointer here. deleting an instance of `ObjectStore` will cleanup automatically.