Update c# bot to java-bot style
Update java example bot