Added infrastructure code to compile a control function, but no
actual conmpilation yet.