Move introspection stuff to a sub-packaage

Fixes #15.