rename files and create Makefile for bin