fa2.js->fa2.py: making the ForceFactory