Added a logger class and a format utility function.