added Resources class