wip implementing resource load into memory at the start