Started with logic to add images (created class Image, php upload code, etc).