refactoring: encapsulated layer creation
New group format => more expressive
New version of maat