subsites have explicit resources
removed import of application resource
fixed url resolving in public api
cleaned up imports
minor fix to get url name of a public endpoint