added makefile and common tools