moved some static objects to a globals class