Add DocumentManager
Use document event instead of app ready
Comment