Refactor sdk
Refactored sdk and rendering
Reworked the renderer so long string will now be cutted without side effects