Add initial UI for the studies and fix the performance issue