core: prevent ensure_all in controller_file. Fixes #782
core: added controller helper module