Built upload methods. Uploaded images to the db and then dumped for sample data