Basic API module that can handle oauth.