Changed the layout of the Controller class to make use of GenericOptionsParser.