moves main to root directory
fixes Makefile