Separate group.js into several files