Store rooms in database.

Signed-off-by: Mariusz Fik <fisiu@opensuse.org>