Stand alone Java tool

Removed need for .sh scripts and added dependency of Apache Commons CLI. Refactored and cleaned up according to best practices.