added class sample
added tools: class sample and class processSample