Fixing the resource manager and modifying the structure of creation and deletion of levels. Trying to fix the level architecture. Already been merged with working walk functions etc.