added xml parser, packet generator and frame class