Changed Makefile for new main.c
Moved main function to different C file
Added extern definition of char* pathname from main.c
Moved main function to another file. This C file will contain all the extraction functions