modify to middlware v3.1
add middleware v3.1
Merge branch 'master' of http://github.com/ScutGame/Scut