added a makefile and main.cpp for the actual command line tool