clean code for integrate new class Render
some code cleanning again
close #223