More feature trimming
Moved extension management to Environment class

Removed ExtensionLoader class and updated references to the old methods
to the new API