Persistence and REST initial implementation