added logger and library