code infractoring

add RootView class