Arbitrary number of key creation (batch)

Functionality added to create keys in batch (any arbitary number),
previously keys  were created/returned one at a time.