Added Config class for managing hostname plugins.
Added Config class tests.