Nyr main class