added makefile and main class for testing