Comments, generated api-doc. Broke function parse_line to parse_line and format_line.