[DO NOT MERGE] Initial commit of refactor. Still contains old code.

Remember in your case it will be two files: your env-setting script plus openshift.sh