Adds a simple RioV API,
Rewrites a lot of RioV to run off API