First complete version

First complete usable set. Coherent, checked that examples read.