Adds some room query functions
Fix insertion bug
Quick simple DB test