Split out class definitions into their own files.