Small changes.
Actually use __init__ to import the core function.
Only expose two core functions when importing manually.