Relocates the sub category markup and makes initial preparations for the coming changes.
Implements dive deeper logic.