First working version, and template config files