Status-Controlle

Refactored status controller.
Moved relevant code to the related service and model.