Main rest api routes working - initial version