Adding QDB database abstraction layer with simple select functionality