Added threaded framework for controller and UI.
Merge http://github.com/edluong/UCSB-Databases-Project