Code refactoring, created settings helper.

Signed-off-by: Paul G <p.ganssle@gmail.com>
Settings helper library should work as well as it needs to.
Added valid_string_type to input_validation.py

Signed-off-by: Paul G <p.ganssle@gmail.com>