Made a lot of changes

1. Add the build script and tweak the travis
2. tweak the cookie
3. tweak the session
4. tweak the controller extension
5. adjust the directory for benchmark