Added CodeMirror and Alertify.js as submodules. Moved code to 'core' folder.