add AI
optimize AI
cookie store record
add monitor
remove debug code
Merge pull request #7 from osdream/master

introduce AI