Add static generator
Merge pull request #166 from tomaka/static-gen

Add static generator