Add cache clear function
Add tablet pattern matching method.
Add some public funcitons.
Fixed some method, and README.