divided into routes/models
removed api