added virtual destructor for Module