Added basic action processing in the action component.
Switch category->name mapping from switch statement to a dictionary.