separated rest urls into api module