add Makefile and fix unused module