sort of working database

woot