add sqlite support

Added sqlite support, and appropriate options in the config file.
Closes #9.