chore: use dna.apy and pyconsul to refactor

* Flask api refactored in dna.apy
* serf replaced by consul for node monitoring
* User management with mongodb
* Fix tests
* minor cleanups