move channel closing to static fuction

Change-Id: I3628ff61d46950059b25a9697ca8cc43ad0f661c
properly rename existing files

Change-Id: I413242b844b5cd25ab35939522f9f413743830e5
move message passing into functions

Change-Id: Ie3aa85981fc5eb1bb84473ff3d40354a5f2b90ea
switch server side to nonblocking

this way we can timeout

Change-Id: Ia39da030f79a1aaaf381aa31692c682d6446853c
use sleep instead of wait

Change-Id: Ib10bddbbf358ab502a3a0bfd1c07a4c107da2db4
channel based messenger

utilize channel based message passing
instead of linear execution (send info, send files),
allow server side to accept commands and respond
appropriately. this will help retain backwards compat
when we start extending it.

Change-Id: I4f56ba107457766816405619693a55a2578d229e