main method completion, need reindex methods and proper handling of topic deletion and restoration