Added View logic, changed Index, and created server socket for hardware