create Model and Repertory