Restructured component registration. Added config files. Extracted components into modules. Fixed memory leaks. Performance improvements for cloning objects.
Removed commented code