added controller to framework