Java MonkeyRunner implementation