Added support for database using sqlite3