adding simple parsing structure to activity, adding tests around the image marshalling