adding models and routes