refactor resource handler to async/await
refactor resource handler to async/await

since we already started the way because of count, let's go the way to the end.

TTRACK-113

25th-floor/ttrack-server,25th-floor/ttrack-server