added wrapper class for polymake. listening threads pendning.