Added nb_model.py