Move shared state into the Hosties module

Definitely cleaner than using class variables.