added routes controller and model