Refactor

* App is no emdb
* Move emdbd sources to a subdir