Adapted IOs and setup to the changed polybuf and harmonic APIs