initial real database stuff done

api server set up, working on setting up on my end