Fixup organisation and add more yardocs

Signed-off-by: Ken Barber <ken@bob.sh>