Made some routines for creating configuration files and removed some comments