Rework structure main_loop, wip default patrol