refactor the command hook a little: now the after-command-callback will
get an complex object as parameter which includes all informations about
the command execution