- made DataInterface a singleton
- allowed option to specify a preferred database (largely for testing)
- added a test for reading data.