fix for location variable
removed setuplogs sh file as it is no longer used
removed unused rest dir and rest_conf
updated logging and removed unused files