Write makefile, and set up deployment process