Put all functions in separate .h and .c files and made new makefile
: