Moved parser into a static lib