Various work on the project.
Various methods now public to avoid bugs.
Supporting "\n" as line end as well as "\r\n".