added logger
added ability to using static config