added some classes to elements.
nested categories with level 1 now use Parent_id = NULL  as an attribute for extra speed.