made EC2 more ActiveRecord-like with class methods