cleaned up logger
added time class for getting timestamps