renamed environment function to getEnvironment for readability
renamed environment function to getEnvironment for readability

jciancio/final_project,jciancio/doc_loc,jciancio/final_project,jciancio/final_project,jciancio/doc_loc,jciancio/doc_loc