moved cosm_logger to lib where it oughta be