CMS-1659 Move models to API
Moved models to api