Adding interface for gui to call into controller.