Function to create categories completly changed, to use DOM childs and etc, in the past we are using a huge string to load something