Put all exported functions at the top level namespace
fix errors
Update imports to match new format
update version