Splitting apart files out of index.js

teams and fs utility function folders