added all database models, fixed weird referenceproperty and collection_name conflixxx