Refactor MatchingCtrl

Since most of the flow onwards is almost identical so I extract the common
workflow into a controller.