cleaned up logger and added acknowledgemtn to comm protocol