Added main.js file, added EventMessages module.