Added sending of configuration packet; Changed functionality of ProtocolHandler to use single, returning functions for starting and stopping runs