Abstractions Pre-processors, Sources and Classifiers

Fix #54 

This pull request add abstractions to common component pattern like pre-processor, stream source and classifier.