import core functions and classes at top level