Improved the LevelLoader and Texture manager

Deleted unnecceary function from LevelLoader.
Replaced lots of rows with a function in XmlSaver.
Made default  functions unaccessible in TextureManager.