Added WP IO class for handling requests

Using new WP IO class for handling requests

@jdevalk Please can you review this code?
please update the comments / docs for this lib