added a makefile and some debug info