ActionsParser refactor

I would appreciate if every method / function had a comment with brief explanation of what it does. Note overridden functions do not need those as they are commented in the base class.