Fully working UI with history and started working on indexing