Moved all class extensions/classes to their own files.