removed active record references
fixed bug for photos with no captions
removed unecessary Date library
heroku testing
changed photo sorting to ascending