Delay IO until after building the data
Switch to method
Remove unused extern mod
Merge pull request #3 from Aatch/master

Delay IO until after building the PPM