message passing is working
separated peer stream and reconnect into own modules