update to namespacing and added settings for API endpoints