extract class finding logic to own class
allow creation of custom actions