Modifying getInstance to be static... I'm a dummy.
fixing slight issues in the python binding.