Add template matching method to MainFunction class