refactor: changed general imports to specific imports.
refactor: used enum for commands.
refactor: removed unnecessary arguments from methods.
refactored CE1.