added routes controller to framework