Added a decent SQLite3 wrapper class