Make project compilable, removed obsolete main.c