added Image class, preliminary save function (dumps JSON to console)