update paths and add Makefile