changed resources to be loaded according to the path name, so "api/sub/example" would become subExample for the class name. The resources directory is now a flat dir