'Import * from uri, and separate out functions and classes.'

def _import_funcs_classes(self, uri):

    ns = {}
    exec ('from    %s    import    *' % uri) in ns
    (funcs, classes) = ([], [])
    for (name, obj) in ns.items():
        if inspect.isclass(obj):
            cls = Obj(name=name, has_init=('__init__' in obj.__dict__))
            classes.append(cls)
        elif inspect.isfunction(obj):
            funcs.append(name)
    return (sorted(funcs), sorted(classes, key=(lambda x: x.name)))
