created roomFactory, moved room controller api calls to four methods in ...

...roomFactory