Fixed example
Put TypeScript headers in namespace directories

Fixes #153