Prints message to add and commit only when necessary. Creates 'model-*' functions to do it