basic classes and xml test closes #2