all defaults values in code not in config.js
refactoring viewPath detection to enable change theme in data config
file