use Dir::Self in config
added xslate view