Made a loader class and implementd it in Level