Created main controller for drawWrapper()