docs: update, wrap to 80 chars, indent, add tests and indentation