added node model + updated tests
added xml resource interface + validation utilities