Franchise Management with Edge Computing