2013-4-12 divid the datasource from connection pool factory, and modify
the package struction a lot.