[editor] Remove the Bridge pattern and extra refactoring.

Standardize code style and properly name variables and methods.