Refactored embargo parsing code into the EmbargoHelper class to clean up
code and to make unit testing easier