Add functionality of handling AOI in client-side.

Comment it to further implementation to speed up the process.
Merge branch 'aio'