Improved api calling, change router/ to content/ for clarity, added profile injecttion