Added main c file