Creating environment independent configuration files during installation.
Also DB configuration moved to separated file.