fixed the CubeEngine folder creation and the creation of new resource files