[WIP]collect aws cloudformation templates and stacks at Amazon refreshing

Prefer where(blah).find_or_create instead of the manual logic.