implementing a merchant class for app