Implemented possibility to configure the host.

Closes #31