add conf dir && write Makefile