extract two method from cabinet
create a new class name as direct
move methods