Added WP IO class for handling requests

Using new WP IO class for handling requests

@jdevalk Please can you review this code?
moet die require nu niet weg?