Moved model to api (model project will be obsolete)