a note taking application implementing database query, and function writing/running