Added key files generation/consumption

In order to remove keys in plain text in the code