split apart ResourceEndpoint
code grooming, easier resource import, added links.py for all things links
generic ResourceDirectory to replace SiteResource and ApplicationResource