SqlInterface class ready for integration with gui.