turn to oop but not work now
modified init.coffee, main.coffee
modified init.coffee, main.coffee