more examples
celanup
add ksNet and refactor ksGetInput