working on controller and gui modules