Add programmatically way to create security groups

tested on AWS EC2