Marked classes as Serializeable and added BagOfTrees functionality