raphael: avoid cloning functions
visucam: added program controller support