Compota great refactoring 

* wrapping all java exceptions to Try
* tail rec instead loops and vars
* centralized logging
* splitting code into abstract compota and aws compota
* local compota