initial commit with working functions (capture image, select image from gallery, view image), fixing out of memory error