added Main (threaded) view, and Config at the controller