Add configuration module and adapt layout for it.
First attempt of organization for resource module.