Added UseIAM for usage with IAM roles in amazon and added Factory to create clients in different ways