swtichable db based on config - sqlite or postgresql