change fonctions argument (link)
add imgmanager
add static renderwindow
Use new render and img manager