add factory.py as first sketches