Started addition of load loop functionality

the "load loop" functionality is not finished yet.