modify apt-get install list, bind flask not only to 127.0.0.1, add Makefile