Add a polycode facade to make own code easier testable