added HostConfig, HostConfigDatabase to simplify connecting to webapp