Refactoring to create RestaurantApp