improve recent edit checker
add category class, move core classes