Added create_and_save method in class model