started writing models and routes