adding libraries controller.