rename es6 file - refactor registration and execution, allow ctx and args