Use dir per snippet structure
Add autogen.sh script