moved server side to api folder and changed gruntfile