restructure rest calls
Merge branch 'master' of https://github.com/dzigerlig/CDAR.git