major updates including db changes

almost working. hooking up ajax pieces