Sorry for the late reply. I was away from my lap top for a few days. I have gone through many of the links provided but I still have issues with my computer.
I ran the Etresoft diagnostic, here are the results:
Problem description:
Sluggish performance and Safari re-directs
EtreCheck version: 2.4.2 (142)
Report generated 9/22/15, 7:21 PM
Download EtreCheck from http://etresoft.com/etrecheck
Click the [Click for support] links for help with non-Apple products.
Click the [Click for details] links for more information about that line.
Hardware Information: (What does this mean?)
MacBook Air (11-inch, Mid 2011) (Technical Specifications)
MacBook Air - model: MacBookAir4,1
1 1.6 GHz Intel Core i5 CPU: 2-core
2 GB RAM Not upgradeable
BANK 0/DIMM0
1 GB DDR3 1333 MHz ok
BANK 1/DIMM0
1 GB DDR3 1333 MHz ok
Bluetooth: Old - Handoff/Airdrop2 not supported
Wireless: en0: 802.11 a/b/g/n
Battery: Health = Normal - Cycle count = 56 - SN = C0112660T9NDKRTAY
Video Information: (What does this mean?)
Intel HD Graphics 3000
Color LCD 1366 x 768
System Software: (What does this mean?)
OS X 10.10.5 (14F27) - Time since boot: less than an hour
Disk Information: (What does this mean?)
APPLE SSD SM064C disk0 : (60.67 GB) (Solid State - TRIM: Yes)
EFI (disk0s1) <not mounted> : 210 MB
Macintosh HD G (disk0s2) / : 59.81 GB (39.71 GB free)
Recovery HD (disk0s3) <not mounted> [Recovery]: 650 MB
USB Information: (What does this mean?)
Apple Inc. FaceTime Camera (Built-in)
Apple Inc. Apple Internal Keyboard / Trackpad
Apple Inc. BRCM20702 Hub
Apple Inc. Bluetooth USB Host Controller
Thunderbolt Information: (What does this mean?)
Apple Inc. thunderbolt_bus
Configuration files: (What does this mean?)
/etc/sudoers, File size 2299 but expected 1275
Gatekeeper: (What does this mean?)
Mac App Store and identified developers
Problem System Launch Agents: (What does this mean?)
[killed] com.apple.CallHistoryPluginHelper.plist
[killed] com.apple.CallHistorySyncHelper.plist
[killed] com.apple.cloudd.plist
[killed] com.apple.coreservices.appleid.authentication.plist
[killed] com.apple.gamed.plist
[killed] com.apple.icloud.fmfd.plist
[killed] com.apple.nsurlsessiond.plist
[killed] com.apple.secd.plist
[killed] com.apple.security.cloudkeychainproxy.plist
[killed] com.apple.telephonyutilities.callservicesd.plist
10 processes killed due to insufficient RAM
Problem System Launch Daemons: (What does this mean?)
[killed] com.apple.awdd.plist
[killed] com.apple.ctkd.plist
[killed] com.apple.ifdreader.plist
[killed] com.apple.nsurlsessiond.plist
[killed] com.apple.softwareupdated.plist
[killed] com.apple.wdhelper.plist
6 processes killed due to insufficient RAM
Launch Agents: (What does this mean?)
[loaded] com.google.keystone.agent.plist [Click for support]
Launch Daemons: (What does this mean?)
[loaded] com.google.keystone.daemon.plist [Click for support]
[loaded] com.microsoft.autoupdate.helpertool.plist [Click for support]
[loaded] com.microsoft.office.licensingV2.helper.plist [Click for support]
User Login Items: (What does this mean?)
iTunesHelper Application (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
Internet Plug-ins: (What does this mean?)
Default Browser: Version: 600 - SDK 10.10
QuickTime Plugin: Version: 7.7.3
3rd Party Preference Panes: (What does this mean?)
None
Time Machine: (What does this mean?)
Time Machine not configured!
Top Processes by CPU: (What does this mean?)
26% com.apple.WebKit.Networking
16% com.apple.WebKit.WebContent(2)
13% WindowServer
9% mdworker(3)
3% Safari
Top Processes by Memory: (What does this mean?)
315 MB kernel_task
313 MB com.apple.WebKit.WebContent(2)
82 MB Safari
78 MB mdworker(3)
45 MB System Events
Virtual Memory Information: (What does this mean?)
101 MB Free RAM
1.90 GB Used RAM (294 MB Cached)
553 MB Swap Used
Diagnostics Information: (What does this mean?)
Sep 22, 2015, 06:44:34 PM Self test - passed
Sep 21, 2015, 11:16:47 PM /Library/Logs/DiagnosticReports/com.apple.AmbientDisplayAgent_2015-09-21-231647 _[redacted].crash