#9: Logging improvements (final).
#8: Added template, and updated existing classes.
Started metric conversion query caching. (#12)