cleaned up editor code.

cleaned up editor initialization code, split the individual functionality into their own files. (codeEditor.js,fileIO.js,fileMenu.js,fileTree.js,toolBar.js)