Refactored Hammer CLI domain class.

Updated a couple of methods to use the more generic kwargs instead of
specifying each argument.