Move the REST access layer to the new 'io' system.

IO systems are responsible for changing external events to
and from data api events, and others.