add models and begin register service