improve infinite history and rename main branch to develop