add pooling method for multi-threading test
remove cppuinit and use a home made main to launch test
add cost notion for teacher