added key files and basic implementation of applet