weka: Further refactoring and code cleanup. Made Node class serializable (which is required for all fields of weka classifiers.