Add resource initialization