Added simple db interaction wrapper
Sorry actually adding file now