more efficient method for exporting private keys
move commands list to commands.py