Finished basic SQLite bachend