Renamed controller to module and client to controller

To prevent confusion, modules control devices, controllers control
modules
Finished implementing logger and added protocol.broadcast method
Changed title bar on module main screen