add function class
add base for from .. import