Feature/179 use wordpress core ajax functions