asyncd: updates routes and introduce mongodb dependency