Move app environment config to sys.config. Add 'account_prefix' setting