refactoring: cleanup user config and host views
add centos 7 recognition