refactored models.py into separate files