prepare restservice module