add a singleton for threadmodelpool and basic cache operation class.
But it have not passed the test yet.
Test passed!!