parting out the wsman setup to its own class