Move source into separate files.