simplified rest hooks init