Refactor into contrib/ folder
Generates Mantle header file