Init Code

Initial C codes