add_base function

Generic function for adding a base model