modified for new changes in warped kernel plus added the cereal base class stuff. Also made the class members names compliant with kernel naming convention.