Added search, panels, factory service

Added a factory service to pass data to scoped controller.

Started JSON for the data tree.