removing db constants and pulling in from env