reset AppController and AppModel, moving functions into Assets