Organizing classes by resource