added a check for the controller name
modified the Main class to use the Bot class in maybeInit