Added GameUtils.java and various improvements