Added tags to front end (sidebar + GetTag) [refs #12]
Neatened some code up