Add initial applet code