organize api url endpoints into namespaces