move create_restaurant as a class method