Rename HostConfig class and file as per review

Also contains a bug fix where the context uri was being used for the check command and this is
incorrect