introduce a sandbox mode for the imageTweak gallery
extract central function and create a parent class `Gallery`
added support for the usage of the jsonEditor