Further pull-apartation

* Move environment vars and setup to their own sh file
* Predicate using keychain on its presence (le duh)