parser now is faster. properly reads and writes to console.log. nearly completed #7