initialize rest package