Set up the base model