made a basic makefile and took care of some organizational issues