rename main.js to Application.js since it is a constructor object, fixes issue #23.