Added makefile for easy cleaning. Small logging additions