moved functions from ssapy.__init__ to ssapy.util.__init__ to avoid
circular dependencies.