added ability to run main client class from gradle console