removed callbacks everywhere

Used Futures.transform with AsyncFunction