parser rewritten, moving to the generator
made a few changes to get it compiling
fully working now with better organization