API cleanup
add / better TypeDoc