add model && repository