Added Logger class to Helper
This is to be used to handle output logging.

Previously, we could not use both -dumpProperties and -map.
This was because one of these would first execute and either close
the underlying stream (stdout) or erase the previously updated file.

This commit adds the Logger class to solve these problems.