Makefile and touchups

Removed some unused variables and created the makefile.