Making a class to encapsulate host mounting, unmounting, status, and state-keeping operations.