got database stuff working

also changing my vision of the site a bit