Split on record set, new SVM

New SVM implementation for classification. Added split on record sets. Fixed few bugs in sockets and speed up tokenizer.