Views can now be nested
Added resource as the base view from which it inherits