added environment setup files. truncated main script due to lack of
tests (starting over)