moved resource generation from universe to resource