Add host cli factory and positive create test

Related to issue #747
Isn't there a python module that does this? Can't remember it now...