Device-Server Communication

Changes for Issue #12.