Rooms revamp 1

Rooms has been revamped to work a bit better. Added a few helper
methods and in general did some refactoring accross different plugins.