Added skeleton init code to c file