Moved stargen() into Stargen class as generate method. Started to make some variables members, starting with the graphics and output enums to keep order correct.