Changing name of desiredtemp to goaltemp and adding a resource directory