Introduced maven & updated code.

1) Introduced apache maven in project.
2) Update code for handling command line arguments.
3) Update shell scripts for execution