added makefile and main class