Added "logic" for top level definitions.  Top level is defined as well as the data is structured at this stage