Added atm id generation, key file creation.