Moved IndexedModelObject into separate file