Added view loading from resource