updated schema to accept an array for program code. Fixes #10