add main fn, create first Makefile