Moved keystore to local storage