Main strucure + simple example with array of balls