Implemented lazy load of namespaces
Added loader
Fixed bugs & improved loading