Simple command line interface for java classes