connects to local db... it's a hard knock life without ORM