made commod section optional. renamed spec->agent to spec->archetype and moved specs to be in top level block