Adding resources class