Categories are taken from update.xml file. Some code cleaning has been done.
Fixed the issue with RW on localhosts and not-a-website targets