Refactoring EnvUtils.as
Creating swapp main bootstrap for testing