added ec2 methods, test suite, and documentation