added .h files and finished makefile