Improve databases
For Job and Session:
-
new is a classe method that create the new object from informations given (as now, but as class method) and returns it. It's called without instance a new object.
-
So when we instance a new object, the Job/Session already exists. So we execute the load method in the init, and load method becomes private (_load)
-
So we remove the load calling from other methods, not needed anymore