Added function to add notes to a database

The function add-note serves to hide the actual schema of the database
that the note is being created for, as well as hide database related
calls behind a simple interface that is only concerned with the note
content.
Fixed indentation level