makeController and View a function
Changes according to sailorjs architecture