Add some domain models, fix GenericRepository and MssServerHelper