First pass at version parsing