First iteration of Listener

Added listening code and comments describing the encryption process(to
be written)