Init Base Models and IRepository