models: Move models into a separate package