Basic User Interface is added

Change-Id: Ib2d972d320a6ac39fbba4b682845965f0ed3572d
diff --git a/osx/menu-delegate.mm b/osx/menu-delegate.mm
index 8418f6f..a425af2 100644
--- a/osx/menu-delegate.mm
+++ b/osx/menu-delegate.mm
@@ -15,18 +15,45 @@
   // Insert code here to initialize your application
 }
 
-// -(void)dealloc
-// {
-//   [statusItem release];
-//   [super dealloc];
-// }
-
 -(void)awakeFromNib
 {
   statusItem = [[NSStatusBar systemStatusBar] statusItemWithLength:NSVariableStatusItemLength];
-  [statusItem setTitle:@"X"];
   [statusItem setMenu:statusMenu];
+  [statusItem setToolTip:@"NDN Control Center"];
+  [statusItem setEnabled:YES];
+  //[statusItem setTitle:@"Status"];
   [statusItem setHighlightMode:YES];
+  //[statusItem setTarget:self];
+
+  NSBundle *bundle = [NSBundle bundleForClass:[self class]];
+  NSString *path = [bundle pathForResource:@"IconDisconnected" ofType:@"png"];
+  menuIcon = [[NSImage alloc] initWithContentsOfFile:path];
+  [statusItem setTitle:@""];
+  [statusItem setImage:menuIcon];
+}
+
+-(IBAction)openDaemonStatus:(id)sender
+{
+  [statusPopover showRelativeToRect:[[daemonStatus view] bounds]
+                 ofView:[daemonStatus view]
+                 preferredEdge:NSMinXEdge];
+
+  //[statusPopover showRelativeToRect:[sender bounds] ofView:sender preferredEdge:NSMinYEdge];
+}
+
+-(IBAction)openRoutingStatusPage:(id)sender
+{
+  NSURL *pageURL = [NSURL URLWithString:@"http://netlab.cs.memphis.edu/script/htm/status.htm"];
+
+  [[NSWorkspace sharedWorkspace] openURL: pageURL];
+}
+
+-(IBAction)openTrafficMapPage:(id)sender
+{
+
+  NSURL *pageURL = [NSURL URLWithString:@"http://ndnmap.arl.wustl.edu"];
+
+  [[NSWorkspace sharedWorkspace] openURL: pageURL];
 }
 
 @end