Put all the requires in index.js

otherwise it'd lead to quirky circular dependencies behavior