Split out doc parser code
Add new namespace for signal docs. Fixes #33