Move all model related code to models.py
Updated changelog