Backend reorginisation
Added API for specifying image loaders