Moved model definitions to separate file dwi/models.py