Added configuration setting

Just set ‘localdev’ to true to prevent an actual server call