WIP: Removing namespace pattern and using RequireJS to manage module dependenices. Work still on progress