use YamlDiscovery to simplify layout definitions in layouts.yml.
Merge pull request #11 from md-systems/yaml-discovery

use YamlDiscovery to simplify layout definitions in layouts.yml.