Add new Option ignore_pi and ignore_comment for ignoring these
Add a logger in a simple way (unfinish)