With some help I was able to do asynchronous programming using Completable futures. However, at the beginning of the application, I am creating a caching and the code is as foll