A  more customizable version

Split custom template from the default one and split some vars from
template into a config file.