added xml mapping to objects