SQLite database library almost done