rewriting support for configuration layers. removed old impl

#CO-56
compilation fixed
Merge pull request #8 from consulo/CO-56

#CO-56 fixed