overhauling the way we handle flags and positional args to allow for the app global flag. also added the debug flag