Move settings and secrets to env variables