Ec2implement

Followed description on piazza to update files to get amazon EC2 to work as a production DB.