Add source code for manipulating the database