Fixed makefile and set up app to use local server