register new view and resources