def parseMoClassName(className):
    """ Given a class name (aaaUserEp) returns tuple aaa,UserEp"""
    idx = -1
    upperFound = False

    for c in className:
        idx += 1
        if c.isupper():
            upperFound = True
            break

    if upperFound:
        pkg = className[:idx]
        klass = className[idx:]
    else:
        pkg = className
        klass = ""
    return pkg, klass