initial database commit

still a work in progress.