code cleanup and binary-file renamed to globalcontrol