Tidy up Deploy class and instantiate with a Hash.