Middleware added

A node.js middleware is added in order to serve static files from
different directory depending on the device type.