database starting to take shape, some UI things