Add makefile and update examples