add soureDirectory
Revert "add soureDirectory"

This reverts commit 38d0d0bdd56bb3b8fb56408b58e428c4582cc2f1.
Add sourceDirectory and defaultGoal