Modified to use sqlite database in place of mysql database.