Add aditional validation to the request when PUT or POST are sent.
Handles the insert in POST and the updates as POST
Database file, although it can be easly created with schema.sql