Store info about total tasks executed
fixed error message
Infrastructure to save and load main stage status

Created model, service and controller, still missing actual use.