Fibered categories as foundations