Update controllers to conform to new core Controller, update models to conform to new database argument, update core submodule