Final pull(?)

@FireDart If you think everything is OK, push the code to [tres-framework/Trestle](https://github.com/tres-framework/Trestle) at a new dev branch. From there, we could split the file logger to [Tres logger](https://github.com/tres-framework/Tres-logger).