Added folder support to the UI

Added folder support to the UI