refactored configuration technique.

removed some files.