Update code docs about database, remove files

Remove unused files from the application
Add some inline documentation about using the `data/connection.js` module.