Started documentation formatter etc, starting with word wrapping. This needs refactoring a lot!!!! tests pass, but code crap!