added pausing, fixed preloading
add basic rooming, database