removed environment from hostinformation constructor