Made cod emore robust.
Added end points for services and collections