Redid the resource system, it's much simpler now