Java implementation of the StudioGdo model