Created a roomlistenerhandler class