Moving some common functionality into a util module
Addings states for managing EC2 keypairs