Parsing out parent / child tables

and attempting to generate code.