remove temp api, add tag api fn, rudimentary api fns
clean up ns