Version browser modal working for firebase, a lot of refactoring and visual changes