refactorization
added dependency to aws sdk
refactorization again
using express app.all instead of defining request metod explicitly