Added resource collections. They take care of loading resources and can be stored inside of a state so that the resources get recycled when the state ends.