adding the start of the api and the models