Added code to generate private key and nonce. TODO test this.
Worked on stale support. Problem: has method of arrayed_list[string].