Big image refactor

Refactor code so it is easier to rebase. 
To test open the some big images . Log in as user-4 read-only
 * gatan 
 * leica-scn
 * svs
 * cmu-tif

This PR does not need to be rebased since commits are in #1013