Implements the merchants crud and the deal merchants crud functions