refactored dj imported models into separate module