Minor code cleanup: Reuse data; Move interface to base class
Splitting this from https://gitlab.com/gitlab-org/gitlab-triage/merge_requests/45
We could maybe also add that simple API caching here, but that might require more thoughts.
Edited by Lin Jen-Shin