comments improved, type of variables

added variable type logger and loopinterface, logwriter is not attached
and stored to object, why to store logwriter to phpari object?