Ver .002

Changes:

* Mostly took everything out from a single file, which was incredibly sloppy and lazy but got the job done.
* Introduced master templates for location and entities.
* General nicing up of the still-undocumented code.