adds require.js defines to all modules, starts splitting up initial into smaller modules