added Library, LogUtils and AsyncManager and make some clean up