removed deprecated methods
added license head
removed unused dependencies
- add failover functionality
- e.getMessage() to e in some functions
- updated siddhi version and refactor to mach the new contract
- fixed TODOs