Added namespace.js to create namespace 'Survey' in app
renamed main to survey.main - suggested naming convention