Code cleanup and layout update

Use Pure (http://purecss.io/) to make a fancy web interface. Removed some obsolete templates. Added an Identity model for storing Photo classifications.