Feature/compute keypairs

keypair functionality