Added model and api service