Implemented search functionality. made leftPanel static. changed setUpPanel to public