Using ptr_list for Actions
Factory template. I don't like it, it's 2nd template param will be eliminated, for pureness.