Create initial version of models and api