improved logging utilities, encapsulation, and namespace
fin.js plugin pattern