move ajax functions into ajax class
tinymce action
move request handler, roughly