Create example config files; edit gitignore; a little optimization.