coinkey: moved exports to the bottom
added new class method createRandom()
changed constructor signature