refactor

#### done
* extract lambda stuff in module
* extract sqs stuff in module
* update tests
yes