initialized main view
hacking around to use ACE editor