added deserialization for public keys
added rudimentary node storage