Numbering systems and lists

Warning this is still work in progress and is broken code.
Committing before Christmas break