Start REST API integration

Input API calls in public index function. Will need to change the router
to forward calls to HOME/api/ to the correct Plugin.