Added MachineCtrl controller to handle displaying a single machine's data
Updated homepage.ejs and machine.html to use new MachineCtrl