Created generic Resource object