add model used to versions view and controller