Moved the private.key in the classpath added listener to store the
private key