Server refactoring, added progress bar, comment deleting