added function for checking on host
made error message more helpful
added settting structure
added type
added CLI