Finished CSV preferences tab
Added sql preferences tab