Added rinapp arg handler and made debug config file that can be overridden with args