move_db as attribute, it's ugly but this should fork for first time