Refactor/problem controller

I delete the dependencies of InheritedResource and more use decent_exposure to improve the readability.

If some of you have some comment :)