Updated the parser program

Optimized it a bit and updated to support the new insert format