port main.js to coffee
port router.js to coffee