reorganized project to use makefile
updaed gitignore and tweaked function declarations