Made ModelNN class