remove dead code, update comments
remove old exports