Logging implemented, streaming is almost there