Sample cleanup
Introduced main.c file