[WIP] Add static generator

Close #163
Heh, sure thing.