added makefile and moved all files out to the root directory