Remove unused imports, add license header
Async indxclient