Directory codegen

Contents