added work model and controller