support generating frameworks
Merge pull request #79 from orta/frameworks

support generating frameworks