Move the java array/data manipulation logic to GaggleFiregooseApplet. Modified the APIs.