Remove hardcoded db details, use env variables