Numerous changes to specs and classes to tidy stuff up.
add php
Scattering of fixes.
Beep