Added Makefile and working library