Split sofa.js into multiple files