Simplified code and fixed all issues. Dependency system is now implemented.
Minified. Combined createNamespace and registerModule into a single function to reach a sub-1k minification.