__init__ contents moved to module; wrapper functions to legacy API added to __init__