Add migrations and models for api