Message fragment

1.Update original MainActivity into Message fragment.
2.Link up the activities using Intent. Since fragment is only a layout
element, event is always handled by Activity even though the control is
defined in the fragment.
3.Restore the bundle after the activity been recreated.