Create flash controller, route flash setup through there instead