Refactored all models to be based on GraphDbModel