Added Makefile
Made source responsible for its buffer handling