Added repository interface for rooms.
Added InMem implementation of room repository.
Fixes to make the server able to start again.