bring back 'query' command
move createPrivateRoom into factory