Sampling module added

Tests have not been updated.
Add maven support.
Tests are corrected and passed.
Output path as parameter added.
Exe file.