Init new resource-structure