Fixed a bug that was preventing the titles of newly uploaded pictures from being saved. Also cleaned up the photobox/routes.js file, and cleaned up the photobox/index.js file and added a lot of comments.