Add Makefile and start writing tests