REST and DB architecture: Stage 2 + Unit Tests