repackage, add header, add Makefile