Reimplemented get_security_group function
Improved security group management in main
Improved keypairs options and main management.