Split up React classes into different files.