now using async module, parallel db queries for hierarchy fetch