Comments Amount REST URL + unused imports removal

Added support for receiving URL from client, used to get the up-to-date
amount of comments.
Removed unused imports from all the classes with warnings.