resolving paths and letting node serve static files