Move models into api app