- Clean up some code
- Change all database functions returning a boolean
- Add a doc section