Separate index.coffee into several smaller files.