move db models to api folder and set up location retreival part of api