Refactored the editor's select tool into its own files.