updates mvc() to app() and switch up the vars to make them more organized