Move AWS interaction into models