creating nube main class