Removing unused requests import
Adding dump:index command and refactoring