Began work on SQLite database functionality