Add main.cpp Makefile files and add some files to .gitignore file