export only main function
clean up after static libs
provide headers for rtn1
use inline
cosmetic edits
switch to registration
cosmetic
RcppTN API
more API stuff