Finished code for the boom, As of now the close function or the destructor of the controller class MUST BE CALLED