moved ui elements to the IndexView class
added a settings page for IndexModule
preview implementation to show staged files (not really working yet)