Commented SQL related things, and added a few methods to Photo to
retrieve encoded base 64 photos