Support code highlight
Improve deplicated
Extract window code to new class
Add container class
Move method