Add source code for manipulating the database
Merge branch 'add-src'