Revert "port to v2"

This reverts commits 748d4384955ec29d9a43691c23f5a1148461bc56
and 15085cfee9127a80cd80bd3dbb4c69ca82f86414.
Use memorystream to receive content from borschik
Adapt tests (css)