Move main programs and Makefile to main/ directory