Fixed some bugs with case statements, modify MainController to actually run the command