minor code cleanups (remove unused usings, split some lines)
add comment identifying most expensive line.
Replace regex based parser with handrolled (faster) implementation.
Update .NET version