call initialize in contiki before init rest engine