Add AceEditor, integrate with templates, close #6