Revert "returns layout object as template; users can investigate structure more easily"

This reverts commit 03e7d9cb81ec8119287150ab8246ea7634a9d755.
Revert "unit tests + update license"

This reverts commit f076ebd01f63ebbc75ee567a5d95bf6f859ae49c.
roundabout way back to correct commit ...