Added folder loading to wrapper

Wrapper now calls loadfolder  and loads its config correctly

Example config for loadfolder added
Added changing image extensions to config

Configuration file for loadfolder now can optionally take a list of
image extensions to accept rather than the default