Started addition of load loop functionality

the "load loop" functionality is not finished yet.
Added saving on server feature. Other minor changes.