refactored main.coffee
refactored main.coffee
refactored main.coffee