Problems refactorings

Controllers and module extracted to ```scripts/problems/```