Define kernel classes and a factory to generate them from xml
Generate kerlels instances from the xml file