Cleaned some code.
- Added start code for the DB abstraction Layer
- Added 404 error management
- First level of error has been added