ported test.py to cv2, moved more entities to legacy, deleted some useless vision cmodules