Added generate stubs command

Generating headers works now with:

    spaghetti generate headers