Refactor source tree.
add maven support.