Major re-formatting, added two useful methods in ImageTransformer