add controllers and routes