Implemented database files, connected to sqlite3