added makefile and some scripts