SQLite database support. fixes #15