updates generator to work with layout list
Merge pull request #65 from aaromp/style

updates generator to work with layout list