Techniques for automatically completing a partially completed UI design created by a user are described. The generation framework encapsulates a variety of different code generation technologies within a common interface. The pillars and the contact are formed of layer of a first Schottky metal material with a work function selected for efficiently collecting photogenerated electrons.