Step 1 of total refactoring: genpic builds&runs with a few shortcuts taken