PingStream re-write

refactoring the pingstream, to make it less complicated.