changing the gestion of the width and the height
creating the loading of levels