factory.py: add first version of pull(), push() and get(), put() as simlyncs