added simple Makefile and main method