Added gitignore
Move fiddly environmental stuff into a bin/environment.sh script