Added messagemanager and exitmanager to better deal with status codes and light controls