hmm databases are tricky

not actually working yet but i think we are close to connecting.