Added ability to select record in the tree

Select a record in the tree to load its data into the main content area.