Applet structure with inputs & outputs