Added basic Parser functionality. Still getting Segmentation fault in AggregatePrimitive.intersect