That seems reasonable.  Currently this is handled by using namespaces. If you have a library, you'd give it it's own namespace, so it doesn't have to live in the same hierarchy as your application.