Reimplement ability editor (Part 1)

Signed-off-by: Konctantin <gawrilyako@gmail.com>