Added url methods to model. Update api index