Update and rename init to init.c