Added java HostSpecification class