Fix Makefile to output to correct builddir
Adding a main program to start with