Updating code so that you can initialize and load the database more easily.