Add main and makefile