A restfull backend with flexible persistance layer