REfactoring to allow injection of Application Context. Addition of Hugo plugin for method logging.