ultra messy WIP, but embedded orientdb instead of remote elastic search now as backend