Initial implementation of controller.