moved tenstextension class
changed streamhandler a bit
fixed conflict