Editor added

refactored controllers and jquery app specific code into different
files, relocated json config files into config/, most importantly, added
the ace editor into the dom and init'd through javascript.