Updated package to use logger and config