Move all model realted work into models.
Updated changelog