Initialized the main.js with required namespaces