Persists building and rooms to DB, very messy