Search algorithm finish, save algorithm refactor, added xml parser