Create masterkey