added heartbeat, fixed logging
heartbeat, logging
fixed servers