Initialize resource data structure