Defined new xml base, algorithm for arg parsing

Off the cuff thoughts on what these should be. I will take a formal
design stab at this following a little more playing at fleshing it out.