Use wrapper methods to remove duplicated code

-Added methods logError, logWarn, logInfo to avoid using log(new Status(...))
-Added getBuildEnvironmentVariableBoolean() that returns the boolean value instead of String.
-Use that methods to remove duplicate code.