Add resource handler class