Added keylogger

Added keylogger class to capture keystrokes