Add missing src directory
Refactor samples to produce jars