Starting models and rest api