Added requirejs and provider endpoints
add provider working