apigen: separate api-template.html and -api flag
remove duplicate exports like dwpos and ext_dwpos
apigen cleanup and tweaks
apigen: filter extensions
document initial magnetization
api mostly ready
rebuild complete API