Large cleanup.

Added comments and documentation to the code.
Moved the generated chart and map images to /var/lib/house.
Miscellaneous file layout cleanup.